package demo1;

import java.util.Scanner;

public class 李四还钱 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        char ch;
        do{
            System.out.println("李四还钱吗？请输入y or n");
            ch = sc.next().charAt(0);//y or n
            if(ch=='n'){
                System.out.println("啪啪啪啪！！鞭打李四！！");
                System.out.println("啪啪啪啪！！鞭打李四！！");
                System.out.println("啪啪啪啪！！鞭打李四！！");
                System.out.println("啪啪啪啪！！鞭打李四！！");
                System.out.println("啪啪啪啪！！鞭打李四！！");
            }else {
                System.out.println("还钱就好");
            }

        }while (ch=='n');
    }
}
